<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>事件绑定测试</title>
  <script src="../../src/event/index.js"></script>
</head>
<body>
  <ul id="items">
    <li>AAAA</li>
    <li>BBBB</li>
    <li>CCCC</li>
    <li>DDDD</li>
  </ul>
  <script>
    addEventListener('#items','click',function(e){
      console.log(this.innerHTML)
    },'li')
  </script>
</body>
</html>